package com.example.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.example.bean.Person;
public interface PersonMapper {
	void save(Person person);  
    boolean update(Person person);  
    boolean delete(int id);  
    List<Person> findAll(@Param(value="page")int page,@Param(value="rows")String rows); 
    List<Person> findAllPerson(); 
    List<Map<String,Object>> useSqlString(@Param(value="sqlStr") String sql); 
}
